#hell0_makefile
ifneq ($(KERNELRELEASE),)
LOCAL_MODULE := test

$(LOCAL_MODULE)-objs := sysfs_test.o
obj-m := $(LOCAL_MODULE).o

# obj-m:=sysfs_kobj.o
# obj-m:=sysfs_kset.o
else
KERNELDIR:=/lib/modules/$(shell uname -r)/build
PWD:=$(shell pwd)
default:       
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
clean:        
	$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
# rm -rf *.o *.mod.c *.mod.o *.koendif


# obj-m += led_drv.o 
# all:
# 	make -C /opt/kernel SUBDIRS=$(PWD) modules
# clean:
# 	make -C /opt/kernel SUBDIRS=$(PWD) clean
endif
